<?php
/**
 * Apricot Setup script
 *
 * @package Apricot
 */
session_start();
date_default_timezone_set('America/Chicago');
ini_set('magic_quotes_gpc', 0);
ini_set('expose_php', 0);
ini_set('always_populate_raw_post_data', 0);
ini_set('session.gc_divisor', '1000');

$appRoot = realpath(dirname(dirname(__FILE__)));

// Include path
$paths = array(
    get_include_path(),
    $appRoot,
    $appRoot . "/lib",
);
set_include_path(implode(PATH_SEPARATOR, $paths));

require_once 'Apricot/Kernel.php';
require_once 'Apricot/Config.php';
require_once 'Apricot/Request.php';
require_once 'Apricot/RequestHttp.php';
require_once 'Apricot/Controller.php';
require_once 'Apricot/View.php';
require_once 'Apricot/Model.php';
require_once 'Apricot/Model/Rowset.php';
require_once 'Apricot/Model/Row.php';
require_once 'Apricot/ExceptionHandler.php';
